<include file="Public:header" />
<load type="css" href='/images/js/tinyeditor/style.css' />
<load href="/images/js/tinyeditor/tinyeditor.js" />
<body>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
	    <td width="17" height="29" valign="top" background="/images/member/images/mail_leftbg.gif">
		<img src="/images/member/images/left-top-right.gif" width="17" height="29" />
	    </td>
	    <td height="29" valign="top" >
		<div class="left_topbg" ><div class="titlebt">产品信息</div></div>
	    </td>
	    <td width="16" valign="top" background="/images/member/images/mail_rightbg.gif">
		<img src="/images/member/images/nav-right-bg.gif" width="16" height="29" />
	    </td>
	  </tr>
	  <tr>
	    <td height="71" valign="middle" background="/images/member/images/mail_leftbg.gif">&nbsp;</td>
	    <td valign="top" bgcolor="#F7F8F9">
		<div class="location">当前位置：产品信息->编辑产品</div>
		<div class="tip">
			<div class="img"><img src="/images/member/images/title.gif" width="54" height="55"></div>
			<div class="text">
				<span class="left_txt2">在这里，您可以根据您的网站要求，修改设置网站的</span><span class="left_txt3">基本参数</span><span class="left_txt2">！</span><br>
				<span class="left_txt2">包括</span><span class="left_txt3">网站名称，网址，网站备案号，联系方式，网站公告，关键词，风格</span><span class="left_txt2">等以及网站</span><span class="left_txt3">会员及等级积分设置</span><span class="left_txt2">。 </span>
			</div>
			<div class="clear"></div>
		</div>
		<div class="nowtable"><div class="left_bt2"><if condition="$vo['id'] eq ''">添加<else />修改</if>产品信息</div></div>
		<div style="width:98%;">
			<form name="form1" method="post" action="__URL__/update/">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="130" height="30" align="right">产品名称：</td>
						<td width="5">&nbsp;</td>
						<td width="130"><input name="name" type="text" id="name" size="30" value="{$vo.name}" /></td>
						<td class="left_txt" width="450">请输入6到20个汉字</td>
					</tr>
					<tr>
						<td height="30" align="right">产品价格：</td>
						<td>&nbsp;</td>
						<td><input name="price" type="text" id="price" size="30" value="{$vo.price}" /></td>
						<td class="left_txt">单位：元</td>
					</tr>
					<tr>
						<td height="30" align="right">供求数量：</td>
						<td>&nbsp;</td>
						<td><input name="num" type="text" id="num" size="30" value="{$vo.num}" /></td>
						<td class="left_txt">0为不限制</td>
					</tr>
					<tr>
						<td height="30" align="right">产品图片：</td>
						<td>&nbsp;</td>
						<td colspan="2">
							<input name="picture" type="text" id="picture" size="60" value="{$vo.picture}" />
							<input name="thumb" type="hidden" id="thumb" value="{$vo.thumb}" />
							<iframe id="upload_target" name="upload_target" src="__APP__/upload/index/uploadfield/picture/thumbfield/thumb/"  width="300px" height="24px" scrolling="no" frameBorder="0" ></iframe>
						</td>
					</tr>
					<tr>
						<td height="30" align="right">&nbsp;</td>
						<td>&nbsp;</td>
						<td colspan="2" class="left_txt">
							您可以：1、复制网络图片地址；2、从本地上传文件。
						</td>
					</tr>
					<tr>
						<td height="30" align="right">产品品牌：</td>
						<td>&nbsp;</td>
						<td><input name="capital" type="text" id="capital" size="30" value="{$vo.capital}" /></td>
						<td class="left_txt">单位：万元</td>
					</tr>
					<tr>
						<td height="30" align="right">规格型号：</td>
						<td>&nbsp;</td>
						<td><input name="number" type="text" id="number" size="30" value="{$vo.number}" /></td>
						<td class="left_txt">请选择员工人数段</td>
					</tr>
					<tr>
						<td height="30" align="right">产品介绍：</td>
						<td>&nbsp;</td>
						<td colspan="2"><textarea id="info" name="info">{$vo.info}</textarea></td>
					</tr>
					<tr>
						<td height="30" align="right" class="left_txt2">&nbsp;</td>
						<td><input type="hidden" name="id" value="{$vo.id}" /></td>
						<td><input type="submit" value="提交" size="30" /></td>
						<td class="left_txt">&nbsp;</td>
					</tr>
				</table>
			</form>
		</div>

	    </td>
	    <td background="/images/member/images/mail_rightbg.gif">&nbsp;</td>
	  </tr>
	  <tr>
		<td valign="middle" background="/images/member/images/mail_leftbg.gif">
			<img src="/images/member/images/buttom_left2.gif" width="17" height="17" />
		</td>
		<td height="17" valign="top" background="/images/member/images/buttom_bgs.gif">
			<img src="/images/member/images/buttom_bgs.gif" width="17" height="17" />
		</td>
		<td background="/images/member/images/mail_rightbg.gif">
			<img src="/images/member/images/buttom_right2.gif" width="16" height="17" />
		</td>
	  </tr>
</table>
<script type="text/javascript">
	new TINY.editor.edit('editor',{
		id:'info',
		width:584,
		height:175,
		controlclass:'tecontrol',
		rowclass:'teheader',
		dividerclass:'tedivider',
		controls:['bold','italic','underline','|',
				  'orderedlist','unorderedlist','|','outdent','indent','|','leftalign',
				  'centeralign','rightalign','|','font','size','style','|','n',
				  'image','hr','link','unlink','|','cut','copy','paste'],
		footer:true,
		xhtml:true,
		cssfile:'style.css',
		bodyid:'editor',
		footerclass:'tefooter',
		toggle:{text:'源代码',activetext:'可视化',cssclass:'toggle'},
		resize:{cssclass:'resize'}
	});
</script>
</body>
</html>